import 'package:flutter/material.dart';
import 'package:myflutterproject/basematerialwidgetsdemo.dart';
import 'package:myflutterproject/routes.dart';

class NestedScrollViewDemo extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('使用示例'),
        centerTitle: true,
      ),
      body: Container(
        child: Column(
          children: [
            ItemButton('滚动隐藏AppBar', nestdemo1),
            ItemButton('SliverAppBar展开折叠', nestdemo2),
          ],
        ),
      ),
    );
  }
}
